FROM reg.qiniu.com/library/node:8-alpine

#https://github.com/docker-library/ghost/issues/111
#npm echo Error 'Segmentation fault' #111
RUN apk add --no-cache paxctl && paxctl -cm `which node`
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org

#docker build -t wolferhua/node:8.9.4 .